package cs.lqs.controller;

import com.github.pagehelper.PageHelper;
import cs.lqs.utils.DataGridViewResult;
import cs.lqs.vo.StudentVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@RestController
@RequestMapping("student")
public class StudentController {

    @RequestMapping("list")
    public DataGridViewResult list(StudentVo studentVo) {
        // 设置分页信息(当前页码,每页显示数量)
        PageHelper.startPage(studentVo.getPage(), studentVo.getLimit());
        
        return null;
    }
}
